package com.xhwl.logistics.open;


import com.xhwl.common.pojo.ResultJson;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Slf4j
//@RestController
public class FuShiDataPushController {

    /**
     * 富士的数据推送-进记录-用于测试
     */
    @PostMapping("/fu-shi/car-in")
    public ResultJson carIn(@RequestBody String params){
        log.info("carIn方法传过来的参数为："+params);
        return ResultJson.successWithVoid();
    }

    /**
     * 富士的数据推送-出记录-用于测试
     */
    @PostMapping("/fu-shi/car-out")
    public ResultJson carOut(@RequestBody String params){
        log.info("carOut方法传过来的参数为："+params);
        return ResultJson.successWithVoid();
    }

    /**
     * 富士的数据推送-付费-用于测试
     */
    @PostMapping("/fu-shi/pay-record")
    public ResultJson payRecord(@RequestBody String params){
        log.info("payRecord方法传过来的参数为："+params);
        return ResultJson.successWithVoid();
    }

    /**
     * 富士的数据推送-车牌纠正-用于测试
     */
    @PostMapping("/fu-shi/plate-number-correct")
    public ResultJson plateNumberCorrect(@RequestBody String params){
        log.info("plateNumberCorrect方法传过来的参数为："+params);
        return ResultJson.successWithVoid();
    }

    /**
     * 富士的数据推送-月卡延期-用于测试
     */
    @PostMapping("/fu-shi/month-card-operate")
    public ResultJson monthCardOperate(@RequestBody String params){
        log.info("monthCardOperate方法传过来的参数为："+params);
        return ResultJson.successWithVoid();
    }
}
